import { RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/index.vue'

const configRoutes: RouteRecordRaw[] = [
	{
		path: '/operate',
		component: Layout,
		redirect: '/operate/swiper',
		meta: { title: '运营板块', index: 4 },
		children: [
			{
				path: '/operate/swiper',
				name: 'swiper',
				component: () => import('@/views/operate/swiper.vue'),
				meta: { title: '轮播图', icon: 'Picture' },
			},
		],
	},
]

export default configRoutes
